﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OAuth
{
    public interface IOAuthConfig
    {
        /// <summary>
        /// 得到AppKey
        /// </summary>
        /// <returns></returns>
        string GetAppKey();

        /// <summary>
        /// 得到AppSecret
        /// </summary>
        /// <returns></returns>
        string GetAppSecret();

        /// <summary>
        /// 得到回调URL
        /// </summary>
        /// <returns></returns>
        Uri GetCallBackURI();

        /// <summary>
        /// 得到请求类型
        /// GET,POST,HEADER
        /// </summary>
        /// <returns></returns>
        OAuthEnum.RequestType GetRequestType();

        
    }
}
